"""
Axes.py --                                                                                            
																																																		
This file implements the axes class.                                              
																																																			
Date of creation: 2006-11-21                                                                        
																																																
Copyright  Robotics and Automation Group, Pontificia Universidad Javeriana - Cali.                  
	Freddy Naranjo Perez, fnaranjo@puj.edu.co                                                                   
	Antonio Alejandro Matta Gomez amatta@puj.edu.co                                      
	Julian David Colorado, jdcolorado@puj.edu.co                           
	Juan Camilo Acosta Mejia, jcacosta@puj.edu.co                                    
																																																		
See the file "license.terms" for information on usage and redistribution of this file, and for a    
DISCLAIMER OF ALL WARRANTIES.                                                                       
																																																			
"""
import vtk

def CreateAxes():
	"""Initializes an returns an axes Actor """
	# Create a text property for the axes labels
	tprop = vtk.vtkTextProperty()
	#tprop.SetColor(1, 0, 0)
	tprop.ItalicOn()
	tprop.SetFontFamilyToTimes()
	tprop.ShadowOn()
		
	#Base Transformation Axes
	axesActor = vtk.vtkAxesActor()
	axesActor.AxisLabelsOff()
	axesActor.SetShaftTypeToCylinder()
	axesActor.SetXAxisLabelText("x")
	axesActor.SetYAxisLabelText("y")
	axesActor.SetZAxisLabelText("z")
	axesActor.SetTotalLength( 0.05, 0.05, 0.05 )
	#axesActor.GetXAxisCaptionActor2D().SetCaptionTextProperty( tprop )
		
	return axesActor
		
		
		
	
	